package com.mall.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 分类传输对象
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/22 22:59
 */
@Data
@Schema(description = "分类传输对象")
public class CategoryDTO implements Serializable {
    @Schema(description = "分类id")
    private Long id;
    @Schema(description = "分类名称")
    private String name;
}
